package com.aizuda.snailjob.vo;

import com.aizuda.snailjob.config.SourceDBConfig;
import com.aizuda.snailjob.config.TargetDBConfig;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class MigrationVO {

    @NotNull
    @Valid
    private NamespaceVO namespace;

    @NotNull
    private SourceDBConfig sourceDB;

    @NotNull
    private TargetDBConfig targetDB;

    @NotNull
    private Integer totalBucket = 128;
}
